﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test.PLCController
{
    public  interface IPLC
    {
        public bool isConnectSuccess { get; set; }
        public PLCBaseInfo  PLCBaseInfo { get; set; }
        public PLCConnectionInfo  PLCConnectionInfo { get; set; }

        //public virtual void Connect(){ }
        //public virtual void DisConnect() { }
        //public virtual void Reader() { }
        //public virtual void Writer() { }
        //public virtual void ReadList() { }
        //public virtual void WriteList() { }
        public abstract void Connect();
        public abstract void DisConnect();
        public abstract void Reader();
        public abstract void Writer();
        public abstract void ReadList(string data, ushort num);
        public void WriteList();
        public void AnalyseDataSheet();




    }
}
